"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = FlexExample;

var _react = _interopRequireDefault(require("react"));

var _components = require("@tarojs/components");

var _index = _interopRequireDefault(require("../../index"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function FlexExample() {
  return /*#__PURE__*/_react.default.createElement(_components.View, {
    style: {
      padding: '16px'
    }
  }, /*#__PURE__*/_react.default.createElement(_index.default, {
    duration: 10,
    onUpload: function onUpload(file) {
      console.log(file);
    }
  }));
}